package com.jd.fruit.exception;

@SuppressWarnings("serial")
public class CartException extends Exception{

	private String code;
	private String msg;
	
	public CartException(String code,String msg){
		this.code = code;
		this.msg = msg;
	}
	@Override
	public String getMessage() {
		return msg;
	}
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	

	
	
}
